package extreme.fizzbuzz;

import org.junit.Test;

import static junit.framework.TestCase.assertEquals;

public class FizzBuzzWhizz {
    @Test
    void Should_return_Fizz_when_number_off_given_number_is_75() {
        //Given
        Fizz fizz = new Fizz(75);
        //When
        String result = fizz.numberOff();
        //Then
        assertEquals("Fizz", result);
    }
    @Test
    void Should_return_Fizz_when_number_off_given_number_is_35() {
        //Given
        Fizz fizz = new Fizz(6);
        //When
        String result = fizz.numberOff();
        //Then
        assertEquals("BuzzWhizz", result);
    }
}
